package demo1;

public class Brid extends Animal{
    public Brid(int age, String name) {
        super(age, name);
    }

    public Brid eat(){
        System.out.println(this.name + "在吃鸟粮");
        return null;
    }
    public void fly(){
        System.out.println(this.name + "在飞");
    }
}
